package com.example.demo.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Course;

import org.apache.ibatis.annotations.Update;
import org.jsoup.Connection;

import java.io.IOException;
import java.util.Map;

/**
 * (Course)表服务接口
 *
 * @author makejava
 * @since 2021-03-05 09:48:20
 */
public interface CourseService extends IService<Course> {
    Map<String,String> getCourses(String name) throws Exception;

    Course getByName(String name);

    Course getCourse(Connection connection) throws IOException, IllegalAccessException;

}